/*
* redux最核心的管理对象store
* */
import {applyMiddleware, createStore} from "redux";
import thunk from "redux-thunk";
import reducer from './reducer'
import {composeWithDevTools} from 'redux-devtools-extension'
//向外默认暴露store
export default createStore(reducer,composeWithDevTools(applyMiddleware(thunk)))